<template>
  <div class="box">
      <p>404</p>
      <div class="huidao" @click="fn">点击回到首页</div>
  </div>
</template>

<script>
export default {
    name:'Failure',
    methods:{
        fn(){
            this.$router.push("/Master")
        }
    }
}
</script>

<style scoped>
.box{
    height: 100%;
}
.box p{
    width: 2rem;
    height: 1rem;
    background-color: aqua;
    border-radius: 0.1rem;
    margin: 2rem auto 0;
    font-size: o.3rem;
    color: rgb(247, 110, 110);
    text-align: center;
    line-height: 1rem;
}
.box .huidao{
    width: 1rem;
    height: 0.2rem;
    color: blueviolet;
    text-align: center;
    margin: auto;
    margin-top: 0.3rem;
}
</style>